package com.yg.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yg.entity.singleEntity.Dictionary;
import com.yg.mapper.DictionaryMapper;
import com.yg.service.DictionaryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 此表为字典表，对应各个表中的下拉数据 服务实现类
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Service
public class DictionaryServiceImpl extends ServiceImpl<DictionaryMapper, Dictionary> implements DictionaryService {

    @Override
    public List<Dictionary> getDegree() {

        List<Dictionary> list = baseMapper.getDegree();

        return list;
    }

    @Override
    public List<Dictionary> getEducation() {

        List<Dictionary> list = baseMapper.getEducation();

        return list;
    }

    @Override
    public List<Dictionary> getTitle() {

        List<Dictionary> list = baseMapper.getTitle();
        return list;
    }
}